﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Barcode_Project.Entity
{
    public class Interface_PurchasePrint
    {
        public Interface_PurchasePrint(PurchasePrintQuery query)
        {
            cWhCode = query.cWhCode;
            cCode = query.cCode;
            cVenCode = query.cVenCode;
            dDate = query.dDate;
            cInvCode = query.cInvCode;
            iQuantity = query.iQuantity;
            iUnitCost = decimal.Parse(query.iUnitCost).ToString("0.00");
            iPrice = query.iPrice;
            cWhName = query.cWhName;
            cVenName = query.cVenName;
            cInvName = query.cInvName;
            cInvStd = query.cInvStd;
            irowno = query.irowno;
            cBatch = query.cBatch;
        }
        public string cWhCode { get; set; }
        public string cCode { get; set; }
        public string cVenCode { get; set; }
        public string dDate { get; set; }
        public string cInvCode { get; set; }
        public string iQuantity { get; set; }
        public string iUnitCost { get; set; }
        public string iPrice { get; set; }
        public string cWhName { get; set; }
        public string cVenName { get; set; }
        public string cInvName { get; set; }
        public string cInvStd { get; set; }

        public string printNumber { get; set; }
        public string weight { get; set; }
        public string irowno { get; set; }
        public string cBatch { get; set; }
    }
}
